//
//  SSWBStatusToolBar.swift
//  shanshanlol微博
//
//  Created by 叶竞泽 on 2017/1/23.
//  Copyright © 2017年 JingZe. All rights reserved.
//

import UIKit

class SSWBStatusToolBar: UIView {
    
    var viewModel: WBStatusViewModel? {
        
        didSet {
            retweetButton?.setTitle(viewModel?.retweetStr, for: [])
            commentButton?.setTitle(viewModel?.commentStr, for: [])
            likeButton?.setTitle(viewModel?.likeStr, for: [])
        }
    }

    /// 转发
    @IBOutlet weak var retweetButton: UIButton?
    
    /// 评论
    @IBOutlet weak var commentButton: UIButton?
    
    /// 点赞
    @IBOutlet weak var likeButton: UIButton?
    
}
